<html lang="en" style="font-size: 100px;">
<head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
<title>h8pay</title>
<style>body {
        background: #f2f2f2;
      }
      @media screen and (min-width: 767px) {
        #app {
          width: 540px;
          margin: 0 auto;
          min-height: 100vh;
          box-sizing: border-box;
          border: 1px solid #999;
          /* overflow-y: hidden; */
        }
        .van-popup--top {
          width: 540px;
          margin: 0 auto;
        }
      }</style>
  <link href="../css/chunk-02960128.d8e4678b.css" rel="stylesheet">
    <link href="../css/chunk-03d19c5b.da3b4d7d.css" rel="stylesheet"><link href="../css/chunk-16db521b.9f656bd8.css" rel="stylesheet"><link href="../css/chunk-24229c8f.122b5dbc.css" rel="stylesheet"><link href="../css/chunk-38d9c4e3.72558616.css" rel="stylesheet"><link href="../css/chunk-41206b58.2fe3c40b.css" rel="stylesheet"><link href="../css/chunk-43155bdd.7506223a.css" rel="stylesheet"><link href="../css/chunk-4dbebf52.c3310d55.css" rel="stylesheet"><link href="../css/chunk-57d8499b.96222562.css" rel="stylesheet"><link href="../css/chunk-58705b64.1442bd8d.css" rel="stylesheet"><link href="../css/chunk-5ea3ec15.30d377cf.css" rel="stylesheet"><link href="../css/chunk-6a2440bf.15a728eb.css" rel="stylesheet"><link href="../css/chunk-6de0daa4.5391e009.css" rel="stylesheet"><link href="../css/chunk-9fea3c5c.531c8116.css" rel="stylesheet"><link href="../css/chunk-ae7bdc24.38e0efd9.css" rel="stylesheet"><link href="../css/chunk-dee820da.cfa2c36a.css" rel="stylesheet"><link href="../css/chunk-fde07e7a.adc0509a.css" rel="stylesheet"><link href="../css/app.2150f8cc.css" rel="stylesheet" as="style"><link href="../css/chunk-vendors.e9f6096e.css" rel="stylesheet" as="style"><link href="../css/chunk-vendors.e9f6096e.css" rel="stylesheet"><link href="../css/app.2150f8cc.css" rel="stylesheet"><link rel="stylesheet" type="text../css" href="../css/chunk-43155bdd.7506223a.css"><link rel="stylesheet" type="text../css" href="../css/chunk-fde07e7a.adc0509a.css"><link rel="stylesheet" type="text../css" href="../css/chunk-57d8499b.96222562.css"><link rel="stylesheet" type="text../css" href="../css/chunk-38d9c4e3.72558616.css"><link rel="stylesheet" type="text../css" href="../css/chunk-6de0daa4.5391e009.css"><link rel="stylesheet" type="text../css" href="../css/chunk-03d19c5b.da3b4d7d.css"><link rel="stylesheet" type="text../css" href="../css/chunk-ae7bdc24.38e0efd9.css"><link rel="stylesheet" type="text../css" href="../css/chunk-41206b58.2fe3c40b.css"><link rel="stylesheet" type="text../css" href="../css/chunk-6a2440bf.15a728eb.css"><link rel="stylesheet" type="text../css" href="../css/chunk-02960128.d8e4678b.css"><link rel="stylesheet" type="text../css" href="../css/chunk-9fea3c5c.531c8116.css"><link rel="stylesheet" type="text../css" href="../css/chunk-24229c8f.122b5dbc.css">
	  <style type="text../css">
.file-uploads{overflow:hidden;position:relative;text-align:center;display:inline-block
}
.file-uploads.file-uploads-html4 input,.file-uploads.file-uploads-html5 label{background:#fff;opacity:0;font-size:20em;z-index:1;top:0;left:0;right:0;bottom:0;position:absolute;width:100%;height:100%
}
.file-uploads.file-uploads-html4 label,.file-uploads.file-uploads-html5 input{background:rgba(255,255,255,0);overflow:hidden;position:fixed;width:1px;height:1px;z-index:-1;opacity:0
}</style><link rel="stylesheet" type="text../css" href="../css/chunk-58705b64.1442bd8d.css"><link rel="stylesheet" type="text../css" href="../css/chunk-5ea3ec15.30d377cf.css"><link rel="stylesheet" type="text../css" href="../css/chunk-dee820da.cfa2c36a.css"><link rel="stylesheet" type="text../css" href="../css/chunk-4dbebf52.c3310d55.css"><link rel="stylesheet" type="text../css" href="../css/chunk-16db521b.9f656bd8.css"><script>
if(('standalone' in window.navigator)&&window.navigator.standalone){
var noddy,remotes=false;
document.addEventListener('click',function(event){
noddy=event.target;
while(noddy.nodeName!=='A'&&noddy.nodeName!=='HTML') noddy=noddy.parentNode;
if('href' in noddy&&noddy.href.indexOf('http')!==-1&&(noddy.href.indexOf(document.location.host)!==-1||remotes)){
event.preventDefault();
document.location.href=noddy.href;
}
},false);
}
</script></head><body class="mui-android mui-android-5 mui-android-5-0">
 
<div id="app"><div data-v-8ecad41e="" class="withdraw-cash">

<div data-v-8ecad41e="" class="van-nav-bar van-hairline--bottom" style="z-index: 1;"><div data-v-8ecad41e="" class="van-nav-bar__left" onClick="javascript :history.back(-1);"><i data-v-8ecad41e="" class="van-icon van-icon-arrow-left van-nav-bar__arrow"><!----></i><span data-v-8ecad41e="" class="van-nav-bar__text">返回</span></div><div data-v-8ecad41e="" class="van-nav-bar__title van-ellipsis">提现</div><div data-v-8ecad41e="" class="van-nav-bar__right"></div></div>
<div data-v-8ecad41e="" class="cash-main"><div data-v-8ecad41e="" style="padding-bottom: 0.6rem;"><div data-v-8ecad41e="" class="cash-baseinfo">
  <div data-v-8ecad41e="" class="flexh flex-between" style="width:47%;float:left"><div data-v-8ecad41e="" class="lineHeight-30 center flex1">
  <div data-v-8ecad41e="">
      <span id="bmoney">0.00</span>
              
              </div><div data-v-8ecad41e="" class="font-13 gray">
              可提现余额
            </div></div></div>
			
			<div data-v-8ecad41e="" class="flexh flex-between" style="width:47%;float:left"><div data-v-8ecad41e="" class="lineHeight-30 center flex1">
  <div data-v-8ecad41e="">
      <span id="ed">0.00</span>
              
              </div><div data-v-8ecad41e="" class="font-13 gray">
              不可提现余额
            </div></div></div>
			</div><div data-v-8ecad41e="" class="main-info"><div data-v-8ecad41e="">
 <form class="mui-input-group form"  name="AddUser" action="Withdraw/drawup">
  <div data-v-8ecad41e="" class="van-cell van-field"><div class="van-cell__value van-cell__value--alone"><div class="van-field__body">
    <input type="text" name="uname" value=""  placeholder="请输入收款人" class="van-field__control">
    <div class="van-field__right-icon"><i class="van-icon van-icon-manager"><!----></i></div></div></div></div>
  <div data-v-8ecad41e="" class="van-cell van-field"><div class="van-cell__value van-cell__value--alone">
    <div class="van-field__body"><input type="text" placeholder="请输入银行卡号" name="num" class="van-field__control"></div></div></div>
  <div data-v-8ecad41e="" class="van-cell van-field"><div class="van-cell__value van-cell__value--alone"><div class="van-field__body">
    <input type="text" placeholder="请输入银行名称" name="way" id="way" class="van-field__control"></div></div></div>
  <div data-v-8ecad41e="" class="van-cell van-field"><div class="van-cell__value van-cell__value--alone">
    <div class="van-field__body"><input type="text" placeholder="请输入开户网点" name="wangdian" class="van-field__control">
			<input type="text" name="account" class="name-input" value="{$ulist.account}" style="display:none;">
			</div></div></div></div><div data-v-8ecad41e="" class="MT10 ML10">
          提现金额
          <!----></div><div data-v-8ecad41e="" class="flexh"><div data-v-8ecad41e="" class="ML10" style="line-height: 0.45rem;">￥</div>
  <div data-v-8ecad41e="" class="van-cell van-field"><div class="van-cell__value van-cell__value--alone"><div class="van-field__body">
    <input type="number" name="price" placeholder="请输入金额，最低金额为100" class="van-field__control"></div></div></div></div></div>
  <div data-v-8ecad41e=""><!----><div data-v-8ecad41e="" class="confirm-withdraw van-button van-button--primary van-button--normal " id="submit"  onclick="setdraw()">
 
    <span data-v-8ecad41e="" class="van-button__text">确认提现</span></div>
	</div></div></div></form>
		  
 <script type="text/javascript" src="../js/jquery1.11.1.min.js" ></script>
 <script type="text/javascript" src="../layer/layer.js" ></script>
 <script type="text/javascript" src="../js/tools.js" ></script>
 <script type="text/javascript">
     function deviceReady() {
         initData();
     }
     function initData() {
         var par = getArgumentsFromPageURL();
         var post_data = {amount:par.acmount};
         var success = function(data){
             $('#bmoney').html(data.ulist.bmoney);
             $('#ed').html(data.clist.ed);
         }
         var error = function(data){}
         beginAsyncAjax('Withdraw/tixiannew',post_data,'POST',success,error)
     }
    function setdraw(){
     var thisform=document.forms['AddUser'];
      var   way=thisform.way.value;
		var   num=thisform.num.value;
		var   wangdian=thisform.wangdian.value;
        var   uname=thisform.uname.value;
        var   account=thisform.account.value;
        var   price=thisform.price.value;

      if(uname=='' || uname==null){
            msg_alert('请输入提现人姓名');
            return false;
        }
        if(way==''||way==null||wangdian==''||num==null||num==''||wangdian==null){
            msg_alert('请完善银行信息');
            return false;
        }
		

		if(account=='' || account==null){
            msg_alert('请输入提现账号');
            return false;
        }
		if(price=='' || price==null){
            msg_alert('请输入提现金额');
            return false;
        }
        var post_url = $("form[name='AddUser']").attr('action');
        var post_data= $("form[name='AddUser']").serialize();
        var success = function(data){
            msg_alert(data.msg);  //,data.url);
            setTimeout(function (args) {
                gotoDetail('withdraw.html');
                // window.location.href = "{:U('Withdraw/index')}";
            }, 3000);
            if(data.status==1){
                msg_alert(data.msg);  //,data.url);
                setTimeout(function (args) {
                    //window.location.href = "{:U('Withdraw/index')}";
                }, 3000);
            }else{
                msg_alert(data.msg);
            }

        }
        var error = function(data){}
        beginAsyncAjax(post_url,post_data,'POST',success,error)
  }
</script>
    <div data-v-41371306="" class="van-hairline--top-bottom van-tabbar van-tabbar--fixed" style="z-index: 1;">
        <div data-v-41371306="" class="van-tabbar-item">
            <div class="van-tabbar-item__icon"><!----></div><a href="javascript:void(0)" onclick="gotoDetail('index.html')"><div class="van-tabbar-item__text">
            <img data-v-41371306="" src="../img/home.png" alt="" class="home-icons"></div></a></div><div data-v-41371306="" class="van-tabbar-item"><div class="van-tabbar-item__icon"><!----></div>
        <a href="javascript:void(0)" onclick="gotoDetail('chongzhi.html')"><div class="van-tabbar-item__text"><img data-v-41371306="" src="/img/chongzhi1.png" alt="" class="home-icons"></div></a>
    </div><div data-v-41371306="" class="van-tabbar-item"><div class="van-tabbar-item__icon"><!----></div>
        <a href="javascript:void(0)" onclick="gotoDetail('tixian.html')">
            <div class="van-tabbar-item__text"><img data-v-41371306="" src="/img/tixian.png" alt="" class="home-icons"></div></a></div><div data-v-41371306="" class="van-tabbar-item van-tabbar-item--active"><div class="van-tabbar-item__icon"><!----></div>
        <a href="javascript:void(0)" onclick="gotoDetail('user.html')">
            <div class="van-tabbar-item__text"><img data-v-41371306="" src="/img/center1.png" alt="" class="home-icons"></div></a></div>
    </div>
		  
		  </div></div>
  
  
 </body></html>